home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1530 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.lang.c++,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools.owl
  2. Path: howland.reston.ans.net!torn!nott!emr1!jagrant
  3. From: jagrant@emr1.emr.ca (John Grant)
  4. Subject: Re: Displaying Graphics from a array object.
  5. Message-ID: <DL0w4y.2CJ@emr1.emr.ca>
  6. Organization: Energy, Mines, and Resources, Ottawa
  7. References: <DL0EEB.EzF.B.mary@bath.ac.uk>
  8. Date: Thu, 11 Jan 1996 15:24:33 GMT
  9.  
  10. In article <DL0EEB.EzF.B.mary@bath.ac.uk> py3mwl@bath.ac.uk (M W Lawrence) writes:
  11. >
  12. >Dear wonderful programmer.
  13. >
  14. >I am looking for a way to be  able to display an array object (either 128 
  15. >* 128, 256 * 256 or 512 * 512 -> this depends upon user instruction 
  16. >earlier in the programme) in full artifical colour in a window, 
  17. >preferably with a slider control mechanism and a scale along the sides 
  18. >(top and bottom).The programme needs to look for a pointer to the adress 
  19. >of the particular object being printed so that I can get the programme to 
  20. >display different data sets.
  21. >
  22. >Is there a precompiled run time library out there that will do what I 
  23. >want. Ideally is there an existig windows codeing/programme to do this?
  24. >
  25. >Any help is greatly appreciated - as I am a 'L' learner of c++ - 
  26. >especially for windows programmes.!
  27. >
  28. >Marc
  29. >
  30.  
  31.     What is the data type of your array?  if it's data values, then
  32.     you might want to find a 'grid' control, i.e. to display it as
  33.     a spreadsheet.  If the array contains colours or you want to
  34.     display it as colours, then create a DIB and use the DIB functions.
  35. -- 
  36. John A. Grant                        jagrant@emr1.emr.ca
  37. Airborne Geophysics
  38. Geological Survey of Canada, Ottawa
  39.